<template>
  <van-nav-bar fixed>
    <template #title>
      <div class="upcoming-n-title">{{ title }}</div>
    </template>
    <template #left>
      <!-- <div class="upcoming-back"> -->
      <img src="../../../assets/movie-icon/back.png" alt="" class="upcoming-back" />
      <!-- </div> -->
    </template>
    <template #right>
      <img src="../../../assets/movie-icon/search.png" alt="" class="upcoming-back" />
    </template>
  </van-nav-bar>
</template>

<script>
export default {
  name: 'FissionFriendsH5Upcomingnavber',
  props: {
    title: {
      type: String
    }
  }
}
</script>

<style lang="scss" scoped>
.upcoming-n-title {
  font-family: 'PingFang SC';
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  /* identical to box height, or 171% */
  text-align: center;
}
.upcoming-back {
  width: 20px;
  background-color: #ccc;
}
</style>
